Skip to content

fix(managed): point the managed API base at the real backend; launcher install fallback#10

Merged
Aayam Bansal (aayambansal) merged 2 commits into
mainfrom
port-managed-endpoints
Jul 4, 2026
Merged

fix(managed): point the managed API base at the real backend; launcher install fallback#10
Aayam Bansal (aayambansal) merged 2 commits into
mainfrom
port-managed-endpoints

Conversation

@aayambansal

@aayambansal Aayam Bansal (aayambansal) commented Jul 4, 2026

Copy link
Copy Markdown
Member

fix(managed): point default API base at app.syntheticsciences.ai
The managed/Atlas base defaulted to api.syntheticsciences.ai, a host that never existed — managed mode failed with DNS/'fetch failed' errors (this is the root cause of the 'Could not initialize the graph. Check openscience connect login…' error users hit even when openscience connect login says Already authenticated). Repoints the default plus the hardcoded github/share/OIDC refs.

chore: clean up agent prompt language, launcher install fallback, v1.2.3

  • ml agent 'flywheel' phrasing → 'model specialization' across the prompt and skills
  • npx synsci: falls back to the standalone installer at openscience.sh/install when global npm install fails (common on permissions) instead of dead-ending
  • Bump CLI + launcher to 1.2.3

Verified: turbo typecheck clean, provider tests 174/174.

- Reword the ml agent's 'flywheel' phrasing as 'model specialization' across the
  prompt and skills; only Atlas skills remain in the bundle.
- npx synsci: when global npm install fails (common on permissions), fall back
  to the standalone installer at openscience.sh/install instead of dead-ending.
- Bump CLI + launcher to 1.2.3.
The managed/Atlas base defaulted to api.syntheticsciences.ai, which never
existed as a host — so managed mode failed with 'fetch failed' / DNS errors for
everyone. The real backend is app.syntheticsciences.ai (Vercel-fronted, /api/*
proxied to Fly). Repoint the default plus the hardcoded github/share/OIDC refs
(api.dev → app.dev for the preview path).
@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openscience Ready Ready Preview, Comment Jul 4, 2026 6:16pm

Request Review

@aayambansal Aayam Bansal (aayambansal) changed the title Port from synsci-cli: managed API base fix, branding purge, launcher fallback fix(managed): point the managed API base at the real backend; launcher install fallback Jul 4, 2026
@aayambansal Aayam Bansal (aayambansal) merged commit 16aee38 into main Jul 4, 2026
7 of 8 checks passed
Aayam Bansal (aayambansal) added a commit that referenced this pull request Jul 7, 2026
…ort as a clean stop (#124)

- Cap transient-error retries at MAX_RETRY_ATTEMPTS (10) per message
  generation. The while(true) retry loop was unbounded, and retry.ts marks
  any JSON body with an 'error' field as retryable, so a persistently-failing
  provider (or a permanent error arriving as JSON) retried forever. (#7)
- Doom-loop detection now scans the last N *tool* parts (isDoomLoop helper)
  instead of the last N raw parts. Reasoning models emit a reasoning part
  before each tool call, so the last 3 raw parts were never 3 identical tool
  parts and the guard never fired against a genuinely looping tool. (#10)
- A user-initiated abort no longer fires the session Error event: it's a clean
  cancellation, so record it on the message (turn still stops) but don't
  surface it as an error state in the UI. (#51)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant